package com.example.demo.service;


import com.example.demo.domain.AjaxResult;
import com.example.demo.domain.KgFile;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 知识图谱后端接口 Service
 * 用于定义后端接口
 * @author wzh
 * @date 2025.4.16
 */

@Service
public interface KgFileService {
    AjaxResult upload(MultipartFile[] files);
    AjaxResult add(KgFile kgFile);
    List<KgFile> getById(Integer id);
    AjaxResult getUrl(String filename);
    AjaxResult deleteById(Integer id);
    AjaxResult initialize(MultipartFile[] files);
}